Optimal. Leaf size=142 \[ \frac {b d^2 e n}{80 x^4}+\frac {b d e^2 n}{15 x^3}+\frac {3 b e^3 n}{20 x^2}+\frac {b e^4 n}{5 d x}-\frac {b n (d+e x)^5}{25 d^2 x^5}-\frac {b e^5 n \log (x)}{20 d^2}-\frac {(d+e x)^4 \left (a+b \log \left (c x^n\right )\right )}{5 d x^5}+\frac {e (d+e x)^4 \left (a+b \log \left (c x^n\right )\right )}{20 d^2 x^4} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.07, antiderivative size = 142, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 6, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.286, Rules used = {47, 37, 2372,
12, 79, 45} \begin {gather*} \frac {e (d+e x)^4 \left (a+b \log \left (c x^n\right )\right )}{20 d^2 x^4}-\frac {(d+e x)^4 \left (a+b \log \left (c x^n\right )\right )}{5 d x^5}-\frac {b e^5 n \log (x)}{20 d^2}-\frac {b n (d+e x)^5}{25 d^2 x^5}+\frac {b d^2 e n}{80 x^4}+\frac {b e^4 n}{5 d x}+\frac {b d e^2 n}{15 x^3}+\frac {3 b e^3 n}{20 x^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 37
Rule 45
Rule 47
Rule 79
Rule 2372
Rubi steps
\begin {align*} \int \frac {(d+e x)^3 \left (a+b \log \left (c x^n\right )\right )}{x^6} \, dx &=-\frac {1}{20} \left (\frac {4 (d+e x)^4}{d x^5}-\frac {e (d+e x)^4}{d^2 x^4}\right ) \left (a+b \log \left (c x^n\right )\right )-(b n) \int \frac {(-4 d+e x) (d+e x)^4}{20 d^2 x^6} \, dx\\ &=-\frac {1}{20} \left (\frac {4 (d+e x)^4}{d x^5}-\frac {e (d+e x)^4}{d^2 x^4}\right ) \left (a+b \log \left (c x^n\right )\right )-\frac {(b n) \int \frac {(-4 d+e x) (d+e x)^4}{x^6} \, dx}{20 d^2}\\ &=-\frac {b n (d+e x)^5}{25 d^2 x^5}-\frac {1}{20} \left (\frac {4 (d+e x)^4}{d x^5}-\frac {e (d+e x)^4}{d^2 x^4}\right ) \left (a+b \log \left (c x^n\right )\right )-\frac {(b e n) \int \frac {(d+e x)^4}{x^5} \, dx}{20 d^2}\\ &=-\frac {b n (d+e x)^5}{25 d^2 x^5}-\frac {1}{20} \left (\frac {4 (d+e x)^4}{d x^5}-\frac {e (d+e x)^4}{d^2 x^4}\right ) \left (a+b \log \left (c x^n\right )\right )-\frac {(b e n) \int \left (\frac {d^4}{x^5}+\frac {4 d^3 e}{x^4}+\frac {6 d^2 e^2}{x^3}+\frac {4 d e^3}{x^2}+\frac {e^4}{x}\right ) \, dx}{20 d^2}\\ &=\frac {b d^2 e n}{80 x^4}+\frac {b d e^2 n}{15 x^3}+\frac {3 b e^3 n}{20 x^2}+\frac {b e^4 n}{5 d x}-\frac {b n (d+e x)^5}{25 d^2 x^5}-\frac {b e^5 n \log (x)}{20 d^2}-\frac {1}{20} \left (\frac {4 (d+e x)^4}{d x^5}-\frac {e (d+e x)^4}{d^2 x^4}\right ) \left (a+b \log \left (c x^n\right )\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.04, size = 113, normalized size = 0.80 \begin {gather*} -\frac {60 a \left (4 d^3+15 d^2 e x+20 d e^2 x^2+10 e^3 x^3\right )+b n \left (48 d^3+225 d^2 e x+400 d e^2 x^2+300 e^3 x^3\right )+60 b \left (4 d^3+15 d^2 e x+20 d e^2 x^2+10 e^3 x^3\right ) \log \left (c x^n\right )}{1200 x^5} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains higher order function than in optimal. Order 9 vs. order
3.
time = 0.13, size = 571, normalized size = 4.02
method | result | size |
risch | \(-\frac {b \left (10 e^{3} x^{3}+20 d \,e^{2} x^{2}+15 d^{2} e x +4 d^{3}\right ) \ln \left (x^{n}\right )}{20 x^{5}}-\frac {450 i \pi b \,d^{2} e x \,\mathrm {csgn}\left (i x^{n}\right ) \mathrm {csgn}\left (i c \,x^{n}\right )^{2}+450 i \pi b \,d^{2} e x \,\mathrm {csgn}\left (i c \right ) \mathrm {csgn}\left (i c \,x^{n}\right )^{2}+600 i \pi b d \,e^{2} x^{2} \mathrm {csgn}\left (i c \right ) \mathrm {csgn}\left (i c \,x^{n}\right )^{2}+600 \ln \left (c \right ) b \,e^{3} x^{3}-300 i \pi b \,e^{3} x^{3} \mathrm {csgn}\left (i c \,x^{n}\right )^{3}-600 i \pi b d \,e^{2} x^{2} \mathrm {csgn}\left (i c \right ) \mathrm {csgn}\left (i x^{n}\right ) \mathrm {csgn}\left (i c \,x^{n}\right )-450 i \pi b \,d^{2} e x \,\mathrm {csgn}\left (i c \right ) \mathrm {csgn}\left (i x^{n}\right ) \mathrm {csgn}\left (i c \,x^{n}\right )+240 a \,d^{3}+1200 a d \,e^{2} x^{2}+900 a \,d^{2} e x +600 a \,e^{3} x^{3}+48 b \,d^{3} n +240 d^{3} b \ln \left (c \right )+1200 \ln \left (c \right ) b d \,e^{2} x^{2}+900 \ln \left (c \right ) b \,d^{2} e x +600 i \pi b d \,e^{2} x^{2} \mathrm {csgn}\left (i x^{n}\right ) \mathrm {csgn}\left (i c \,x^{n}\right )^{2}+300 b \,e^{3} n \,x^{3}-450 i \pi b \,d^{2} e x \mathrm {csgn}\left (i c \,x^{n}\right )^{3}+300 i \pi b \,e^{3} x^{3} \mathrm {csgn}\left (i c \right ) \mathrm {csgn}\left (i c \,x^{n}\right )^{2}+225 b \,d^{2} e n x +400 b d \,e^{2} n \,x^{2}-300 i \pi b \,e^{3} x^{3} \mathrm {csgn}\left (i c \right ) \mathrm {csgn}\left (i x^{n}\right ) \mathrm {csgn}\left (i c \,x^{n}\right )+120 i \pi b \,d^{3} \mathrm {csgn}\left (i c \right ) \mathrm {csgn}\left (i c \,x^{n}\right )^{2}+120 i \pi b \,d^{3} \mathrm {csgn}\left (i x^{n}\right ) \mathrm {csgn}\left (i c \,x^{n}\right )^{2}-120 i \pi b \,d^{3} \mathrm {csgn}\left (i c \right ) \mathrm {csgn}\left (i x^{n}\right ) \mathrm {csgn}\left (i c \,x^{n}\right )-120 i \pi b \,d^{3} \mathrm {csgn}\left (i c \,x^{n}\right )^{3}+300 i \pi b \,e^{3} x^{3} \mathrm {csgn}\left (i x^{n}\right ) \mathrm {csgn}\left (i c \,x^{n}\right )^{2}-600 i \pi b d \,e^{2} x^{2} \mathrm {csgn}\left (i c \,x^{n}\right )^{3}}{1200 x^{5}}\) | \(571\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.29, size = 140, normalized size = 0.99 \begin {gather*} -\frac {b n e^{3}}{4 \, x^{2}} - \frac {b d n e^{2}}{3 \, x^{3}} - \frac {3 \, b d^{2} n e}{16 \, x^{4}} - \frac {b e^{3} \log \left (c x^{n}\right )}{2 \, x^{2}} - \frac {b d e^{2} \log \left (c x^{n}\right )}{x^{3}} - \frac {3 \, b d^{2} e \log \left (c x^{n}\right )}{4 \, x^{4}} - \frac {b d^{3} n}{25 \, x^{5}} - \frac {a e^{3}}{2 \, x^{2}} - \frac {a d e^{2}}{x^{3}} - \frac {3 \, a d^{2} e}{4 \, x^{4}} - \frac {b d^{3} \log \left (c x^{n}\right )}{5 \, x^{5}} - \frac {a d^{3}}{5 \, x^{5}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.34, size = 145, normalized size = 1.02 \begin {gather*} -\frac {48 \, b d^{3} n + 300 \, {\left (b n + 2 \, a\right )} x^{3} e^{3} + 240 \, a d^{3} + 400 \, {\left (b d n + 3 \, a d\right )} x^{2} e^{2} + 225 \, {\left (b d^{2} n + 4 \, a d^{2}\right )} x e + 60 \, {\left (10 \, b x^{3} e^{3} + 20 \, b d x^{2} e^{2} + 15 \, b d^{2} x e + 4 \, b d^{3}\right )} \log \left (c\right ) + 60 \, {\left (10 \, b n x^{3} e^{3} + 20 \, b d n x^{2} e^{2} + 15 \, b d^{2} n x e + 4 \, b d^{3} n\right )} \log \left (x\right )}{1200 \, x^{5}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.74, size = 168, normalized size = 1.18 \begin {gather*} - \frac {a d^{3}}{5 x^{5}} - \frac {3 a d^{2} e}{4 x^{4}} - \frac {a d e^{2}}{x^{3}} - \frac {a e^{3}}{2 x^{2}} - \frac {b d^{3} n}{25 x^{5}} - \frac {b d^{3} \log {\left (c x^{n} \right )}}{5 x^{5}} - \frac {3 b d^{2} e n}{16 x^{4}} - \frac {3 b d^{2} e \log {\left (c x^{n} \right )}}{4 x^{4}} - \frac {b d e^{2} n}{3 x^{3}} - \frac {b d e^{2} \log {\left (c x^{n} \right )}}{x^{3}} - \frac {b e^{3} n}{4 x^{2}} - \frac {b e^{3} \log {\left (c x^{n} \right )}}{2 x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.82, size = 158, normalized size = 1.11 \begin {gather*} -\frac {600 \, b n x^{3} e^{3} \log \left (x\right ) + 1200 \, b d n x^{2} e^{2} \log \left (x\right ) + 900 \, b d^{2} n x e \log \left (x\right ) + 300 \, b n x^{3} e^{3} + 400 \, b d n x^{2} e^{2} + 225 \, b d^{2} n x e + 600 \, b x^{3} e^{3} \log \left (c\right ) + 1200 \, b d x^{2} e^{2} \log \left (c\right ) + 900 \, b d^{2} x e \log \left (c\right ) + 240 \, b d^{3} n \log \left (x\right ) + 48 \, b d^{3} n + 600 \, a x^{3} e^{3} + 1200 \, a d x^{2} e^{2} + 900 \, a d^{2} x e + 240 \, b d^{3} \log \left (c\right ) + 240 \, a d^{3}}{1200 \, x^{5}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 3.58, size = 120, normalized size = 0.85 \begin {gather*} -\frac {x^3\,\left (10\,a\,e^3+5\,b\,e^3\,n\right )+x\,\left (15\,a\,d^2\,e+\frac {15\,b\,d^2\,e\,n}{4}\right )+4\,a\,d^3+x^2\,\left (20\,a\,d\,e^2+\frac {20\,b\,d\,e^2\,n}{3}\right )+\frac {4\,b\,d^3\,n}{5}}{20\,x^5}-\frac {\ln \left (c\,x^n\right )\,\left (\frac {b\,d^3}{5}+\frac {3\,b\,d^2\,e\,x}{4}+b\,d\,e^2\,x^2+\frac {b\,e^3\,x^3}{2}\right )}{x^5} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________